package com.yg.entity.readAndWriteTemplates;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * <p>
 * 对应sheet08，此表为教师发表校验论文表
 *
 * </p>
 *
 * @author YingGu
 * @since 2020-11-04
 */
@Data
public class TeacherResearchPapersPlus implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer orderNumber;

    @ApiModelProperty(value = "作者姓名")
    private String author;

    @ApiModelProperty(value = "作者位次")
    private String authorPlaces;

    @ApiModelProperty(value = "论文题目")
    private String name;

    @ApiModelProperty(value = "发表时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String time;

    @ApiModelProperty(value = "刊物名称，首尾页码")
    private String publication;

    @ApiModelProperty(value = "期刊级别，参考字典表")
    private String rank;

    @ApiModelProperty(value = "教师发表教研论文id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;
    //    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String start;
    //    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String  end;
    private String period;
}
